package com.huluobo.base.net

/**
 *  Created by LC on 2024/8/20.
 */
object Const {
    const val baseUrl = "http://10.161.9.80:7035"

    const val PARAM_TOKEN = "token"
    const val PARAM_SIGN = "sign"
    const val MEDIA_TYPE = "application/json;charset=utf-8"

    //登录参数
    const val PARAM_TIME = "time"
    const val PARAM_USERNAME = "uName"
    const val PARAM_PASSWORD = "uPwd"
    const val PARAM_UID = "uId"
    const val PARAM_HOME = "home"

    //登录接口
    const val URL_LOGIN = "/sysUser/loginUser"

    //签到参数
    const val PARAM_START_ADDRESS = "startAddress"
    const val PARAM_START_TIME = "startTime"
    const val PARAM_USER_ID = "userId"

    //签退参数
    const val PARAM_END_ADDRESS = "endAddress"
    const val PARAM_END_TIME = "endTime"

    //签到接口
    const val URL_SIGN_IN = "/SysSign/startSign"

    //是否已签到的参数
    const val PARAM_IS_SIGN = "isSign"

    //签退接口
    const val URL_SIGN_OUT = "/SysSign/endSign"

    //获取考勤参数
    const val PARAM_MONTH = "month"

    //获取考勤接口
    const val URL_GET_MONTH_SIGN = "/SysSign/selMonth"

    //查询车位
    const val URL_QUERY_PARKING = "/sysParking/selParking"

    const val INTENT_PARK_BEAN = "parkBean"

    const val URL_CAR_COLOR = "/sysColor/selColor"

    //申请车位参数
    const val PARAM_PARK_ID = "parkId"
    const val PARAM_PARK_NAME = "parkName"
    const val PARAM_PARK_USER = "parkUser"
    const val PARAM_PARK_START_TIME = "parkStart"
    const val PARAM_PARK_END_TIME = "parkEnd"
    const val PARAM_PARK_TIME = "parkTime"

    //申请车位接口
    const val URL_ADD_PARKING = "/sysParking/addParking"

    //维修接口
    const val URL_GET_ALL_REPAIR = "/sysRepair/selAllRepair"
    const val URL_ADD_REPAIR = "/sysRepair/addRepair"

    //添加维修参数
    const val PARAM_REPAIR_DATE = "repairData"
    const val PARAM_REPAIR_DESC = "repairDescribe"
    const val PARAM_REPAIR_TIME = "repairTime"

    //来访接口
    const val URL_GET_ALL_VISITOR = "/sysVisitor/selVisitor"

    //添加来访参数
    const val PARAM_CAR_NUM = "carNum"
    const val PARAM_VISITOR_DESC = "visitorDescribe"
    const val PARAM_VISITOR_START_TIME = "visitorStart"
    const val PARAM_VISITOR_END_TIME = "visitorEnd"
    const val PARAM_VISITOR_TIME = "visitorTime"

    //添加来访接口
    const val URL_ADD_VISITOR = "/sysVisitor/addVisitor"

    //删除来访接口
    const val URL_DELETE_VISITOR = "/sysVisitor/delVisitor"

    //删除来访参数
    const val PARAM_VISITOR_ID = "visitorId"

    //新闻接口
    const val URL_NEWS = "/sysNews/selAllNews"

    //新闻参数
    const val PARAM_PAGE = "page"
    const val PARAM_NEWS_TIME = "newsTime"
    const val PARAM_NEWS_TITLE = "newsTitle"
    const val PARAM_NEWS_VALUE = "newsValue"

    //添加新闻接口
    const val URL_ADD_NEWS = "/sysNews/addNews"

    //全部巡更接口
    const val URL_GET_ALL_PATROL = "/sysPatrol/selALLPatroles"

    //获取全部巡逻点位
    const val URL_GET_ALL_POINT = "/sysPatrol/selSysPoint"

    //添加巡逻点位参数
    const val PARAM_ADD_POINT = "pointName"

    //添加巡逻点位接口
    const val URL_ADD_POINT = "/sysPatrol/addSysPoint"

    //    {
//        "pEnd": "string",
//        "pPoint": "string",
//        "pStart": "string",
//        "pTime": "string",
//    }
    //新增巡逻路线参数
    const val PARAM_P_END = "pEnd"
    const val PARAM_P_START = "pStart"
    const val PARAM_P_POINTS = "pPoint"
    const val PARAM_P_TIME = "pTime"

    //新增巡逻点位接口
    const val URL_ADD_PATROL = "/sysPatrol/addPatrol"

    //公告接口
    const val URL_GET_ALL_NOTICE = "/notice/selNotice"

    //添加公告接口
    const val URL_ADD_NOTICE = "/notice/addNotice"
    const val PARAM_NOTICE_TITLE = "noticeTitle"
    const val PARAM_NOTICE_VALUE = "noticeValue"
}